import request from '@/util/request'
import jiuquanRequest from '@/util/jiuquanRequest.js'
/**
 * @description 创业项目查询列表
 * @returns {Promise}
 */
export function getProjectList(data) {
	return jiuquanRequest({
		url: '/jiuquan/project/getProjectList',
		method: 'GET',
		data
	})
}
/**
 * @description 创业项目详情
 * @returns {Promise}
 */
export function getProjectById(data) {
	return jiuquanRequest({
		url: '/jiuquan/project/getProjectById',
		method: 'GET',
		data
	})
}
/**
 * @description 创业达人查询列表
 * @returns {Promise}
 */
export function getEminentPersonList(data) {
	return jiuquanRequest({
		url: '/jiuquan/eminentPerson/getEminentPersonList',
		method: 'GET',
		data
	})
}
/**
 * @description 创业达人详情
 * @returns {Promise}
 */
export function getEminentPersonById(data) {
	return jiuquanRequest({
		url: '/jiuquan/eminentPerson/getEminentPersonById',
		method: 'GET',
		data
	})
}
/**
 * @description 创业项目电话拨打次数统计
 * @returns {Promise}
 */

export function addProjectCount(data) {
	return jiuquanRequest({
		url: '/jiuquan/project/addProjectCount',
		method: 'post',
		data
	}, true)
}